﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Insert Product.aspx.cs" Inherits="Insert_Product" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 56%; height: 207px; margin-right: 0px">
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
                <asp:Label ID="Label1" runat="server" style="font-weight: 700; color: #0000FF" 
                    Text="Add Product"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label2" runat="server" Text="ProductID:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtProID" runat="server" 
                    ontextchanged="TextBox1_TextChanged"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label3" runat="server" Text="Product Name:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtProductName" runat="server" 
                    ontextchanged="TextBox1_TextChanged" Height="22px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label4" runat="server" Text="Category:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtCategory" runat="server" 
                    ontextchanged="TextBox1_TextChanged"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label5" runat="server" Text="UnitPrice:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtUnitPrice" runat="server" 
                    ontextchanged="TextBox1_TextChanged"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label6" runat="server" Text="QuantityInStock:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtQuantityInStock" runat="server" 
                    ontextchanged="TextBox1_TextChanged"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                <asp:Label ID="Label8" runat="server" Text="Image:"></asp:Label>
            </td>
            <td style="width: 316px">
                <asp:TextBox ID="txtImage" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
                <asp:Button ID="Button1" runat="server" Text="OK" Width="77px" OnClick="AddProduct" />
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
                <asp:Label ID="Label7" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 149px">
                &nbsp;</td>
            <td style="width: 316px">
    <a href="FProduct.aspx" style="color: #FF0000">Product List</a></td>
        </tr>
    </table>
</asp:Content>

